<template>
  <div class="common-layout">
    <el-container>
      <el-header>
        <to-pinia></to-pinia>
      </el-header>
      <el-container>
        <el-aside width="200px">
          <aside-menu></aside-menu>
        </el-aside>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup>
import AsideMenu from '@/components/home/AsideMenu.vue'

import ToPinia from '@/components/pinia/ToPinia.vue'
</script>

<style scoped>
.el-main {
  background-color: pink;
}
</style>
